home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dskut / atfmt100.zip / FMT.DOC < prev    next >
Text File  |  1992-03-13  |  35KB  |  762 lines

  1.                ┌────────────────────────────────┐
  2.                │ ┌────────────┐         │
  3.                │ │FMT Ver 1.00│         │
  4.                │ │   MANUAL   │            ┌┘
  5.                │ └────────────┘            └┐
  6.                │                │
  7.                │         ▄████▄        │
  8.                │         ██████        │
  9.                │          ▀▀▀▀  ▀        │
  10.                │           ▐▌        │
  11.                │           ██        │
  12.                │           ██        │
  13.                │           ██        │
  14.                │           ▐▌        │
  15.                └───────▀────────────────▀───────┘
  16.  
  17.             ─── A high-capacity floppy formatter ───
  18.  
  19.  
  20.                  ██████████████
  21.                 ▐▌  Features  ▐▌
  22.                  ██████████████
  23.  
  24.  ■ Maximum formats : 360K diskette = 820K  ∙ 720K  diskette = 1066K (NEW!)
  25.              1.2M diskette = 1476K ∙ 1.44M diskette = 1722K
  26.  
  27.  ■ Most extended formats can be made bootable
  28.  
  29.  ■ An extended boot sector will boot C: if you leave floppy in A:
  30.  
  31.  ■ Options to change logical disk organization:cluster size & root dir capacity
  32.  
  33.  ■ Allows to create new named formats to save typing
  34.  
  35.  ■ Fast and quite format : drive doesn't play music when marking bad clusters
  36.  
  37.  ■ A lot of low-level options for programmers
  38.  
  39.  
  40.             ███████████████████████████████
  41.                ▐▌ Requirements and limitations▐▌
  42.             ███████████████████████████████
  43.  
  44. FMT needs at least an AT to run. Moreover, it was tested only with high-density
  45. drives. It *should* work with DD drives, but you might need to play with
  46. options. 2.88M drives are not supported.
  47.  
  48. The reason for the mess is that I had to figure out how diskette BIOS work by
  49. experiment. Obviously, experiments were limited by my computer & those of my
  50. several friends. I couldn't find a good book covering diskette operations...
  51.  
  52. I'll work on compatibility of the next versions of FMT. In the meanwhile, I'll
  53. be very grateful if you let me know about the bugs/compatibility problems of
  54. this program. I am sure that version 1.00 has a plenty! Also, this file is not
  55. debugged for grammer errors.
  56.  
  57.  
  58.                   ████████████████████
  59.                  ▐▌ Distributing FMT ▐▌
  60.                   ████████████████████
  61.  
  62. You can distribute FMT freely as far as it's copied in original form or you
  63. clearly document all changes you have made. No fee should be charged for the
  64. program, but you can charge a small fee for distribution.
  65.  
  66. FMT is released as shareware: you can try it for free; if you decide to use
  67. it, you are encouraged to register for $15 or whatever you think this program is
  68. worth. This is my first shareware program. It will be interesting to see what
  69. happens.
  70.  
  71.  
  72.  
  73.                  ██████████████
  74.                 ▐▌ Finding me ▐▌
  75.                  ██████████████
  76.  
  77. This is an interesting question. Now I am studying in Boston University and live
  78. on campus, so my current address is valid only to the end of semester (Approx.
  79. middle of May 1992). I give it anyway:
  80.  
  81. e-mail : kibirev@CSA.BU.EDU
  82. phone  : (617)352-5563
  83. mail   : Oleg Kibirev, 277 Babcock street Box 1869, Boston MA 02215, USA
  84.  
  85. Please, don't send anything to this address unless you have checked that I am
  86. still here by phone or e-mail.
  87.  
  88. Now my home address:
  89.  
  90. Oleg Kibirev                           Ä½Ñú è¿í¿αÑó
  91. Ilycha 7 Flat 42                       π½. ê½∞¿τá 7-42
  92. Novosibirsk 630090                       ú. ì«ó«ß¿í¿α߬,630090
  93. Russia
  94.  
  95.  
  96.  
  97.                  ██████████████
  98.                 ▐▌ ─ Thanks ─ ▐▌
  99.                  ██████████████
  100.  
  101. It would be impossible for me to write this program without studying 2 other
  102. products.
  103.  
  104. The first is FDFORMAT, the floppy formatter written by Christoph H. Hochstätter.
  105. I have used a lot of good ideas from this program in FMT. The important ones
  106. are:
  107.  
  108. Idea to use interleave = 2 to fit more sectors on a track
  109. Extended boot sector that boots C: instead of A:
  110. Sector spinning to improve disk performance
  111. Loading BIOS extender to HMA with DOS 5.00
  112.  
  113. Another one is 800.COM, a tiny TSR by Pasquale Alberto. This program extends
  114. diskette BIOS, so that most extended formats can be handled by DOS standard
  115. FORMAT, DISKCOPY & DISKCOMP. Studying it's code helped me to understand how
  116. to implement high-capacity formats and write a TSR to make them readable by DOS.
  117.  
  118.  
  119.  
  120.  
  121.                  ██████████████
  122.                 ▐▌ INT13X.COM ▐▌
  123.                  ██████████████
  124.  
  125. You need to load this TSR to make full use of FMT.  The simplest way is to run
  126. it from AUTOEXEC.BAT, or, with DOS 4+, INSTALL it from CONFIG.SYS.  Memory
  127. requirements of INT13X shouldn't cause a problem.  If you have DOS 5 running in
  128. HMA, INT13X will load to the end of the DOS segment, keeping no memory.  DOS
  129. will even bother to toggle A20 line for me!  Otherwise, it will keep 160 bytes.
  130.  
  131. The only option of INT13X is LOW, that will prevent it from loading to HMA. Use
  132. if you have any problems without it. You can end up with a strange combination
  133. LOADHIGH INT13X LOW
  134.  
  135. If you make a diskette with extended format bootable, make sure that it runs
  136. INT13X during startup.    Otherwise, the floppy may become unreadable after the
  137. first disk change.
  138.  
  139. Note that other disk BIOS extenders will not support a 3½" DD diskette with
  140. 11-13 tracks.
  141.  
  142.  
  143.                  █████████████
  144.                 ▐▌─── FMT ───▐▌
  145.                  █████████████
  146.  
  147. Running the program with empty command line will display the summary of options.
  148. The only mandatory parameter is drive letter - A: or B:.
  149.  
  150. You can stop FMT at any time by two ways.  The first is pressing ESC.  This is
  151. an option for brave - the program will stop even in the middle of DOS or BIOS
  152. call.  FMT will perform cleanup needed to avoid trouble in this case.  However,
  153. there are some popup TSRs that refuse to popup if INT 13H never returns.  You
  154. can defeat the problem by running I13S.COM before & I13R.COM after TSR.
  155. Alternatively you can just open drive door.
  156.  
  157. Here is the summary of FMT options. Logical options (like /V or /W) can be
  158. disabled by adding '-'.  With all options that takes a number, you can specify a
  159. hex by omitting ':'.  For example :  /DF9 == /D:249.
  160.  
  161. It's Ok to specify the option several times - the last occurrence will determine
  162. the result. This can be useful with "named formats" (see CONFIG.FMT section) or
  163. batch files.
  164.  
  165.  ╔═══════════════════════════════════════════════╤════════════════════════════╗
  166.  ║ /T:xx       - Number of tracks         │ /G:xx - Gap length          ║
  167.  ║ /N:xx       - Sectors per track         │ /I:xx - Interleave          ║
  168.  ║ /F:name     - Use named format         │ /M:xx - BIOS media byte    ║
  169.  ║ /V"label"   - Set volume label                │ /L:xx - Format fill char   ║
  170.  ║ /S<:boot>   - Copy system to floppy         │ /Z:xx - Retry count          ║
  171.  ║ /Q           - Quick format (Fast DEL *.*)     │ /W     - Write verify       ║
  172.  ║ /E           - Test (do everything but format) │ /R:xx - Root directory size║
  173.  ║ /B           - Batch mode (no output/prompts)  │ /C:xx - Sectors per cluster║
  174.  ║ /X:xx       - Sector spinning between heads     │ /D:xx - FAT ID byte          ║
  175.  ║ /Y:xx       - Sector spinning between tracks  │ /A     - Verbose output     ║
  176.  ╚═══════════════════════════════════════════════╧════════════════════════════╝
  177.  
  178. /T:xx /N:xx - specifies the number of sectors and tracks. The capacity of the
  179. diskette in K is simply equal to tracks∙sectors. For example /T:82 /N:18 formats
  180. a floppy to 1476K. The maximal number of sectors that will work depends on the
  181. media:
  182.  
  183. 5¼" DD disk : 1-10 sectors (9 = DOS standard)
  184. 5¼" HD disk : 11-18 sectors (15 is standard)
  185.  
  186. 3½" DD disk : 1-10 sectors in DD drive (DOS puts 9)
  187.           1-13 sectors in HD drive
  188.           1-12 sectors on some HD drives (Sony ?)°
  189.  
  190. 3½" HD disk : 14-21 sectors (18 = DOS standard)
  191.  
  192. °I have seen only one computer that couldn't format 13 sectors. Interestingly
  193. enough, it had no problem reading & writing such diskettes. 12 sectors were
  194. fine.
  195.  
  196. As you can see, DOS doesn't get the most from a diskette! For a 720K diskette,
  197. it gets 320K less than possible even with the same number of tracks.
  198.  
  199. Of course, in normal life you are only interested in the highest number of
  200. sectors or DOS compatible number (See the next option for some useful
  201. combinations).    You may want to set fewer sectors do that your program keeps all
  202. the space of the distribution diskette (this makes virus infection harder).
  203. Note that DOS can handle such floppies without INT13X.
  204.  
  205. Number of tracks supported doesn't depend on the diskette. 5¼" DD disk drive has
  206. rated capac